/* General Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}
/* General Responsive Setup */
/*:root {
  --midnight-black: #22212f;
  --deep-royal: #151c67;
  --skywave-blue: #3a55c1;
  --slate-grey: #8892a8;
  --sandy-tan: #3a55c1;
}
body{
    background-color:#f2f2f2 ;
}*/

/*body {
  background-color: var(--midnight-black);
  color: var(--slate-grey);
}

.header {
  background-color: var(--deep-royal);
}

.button {
  background-color: var(--skywave-blue);
  color: white;
}

.card {
  background-color: var(--sandy-tan);
}*/

.logo_style{
    position: fixed;
top: -50px;
  left: 20px;
  z-index: 1000;

}
.logo_style img{
    width: 40%;
}
/* Hero Section */
#surajweb_hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  gap: 30px;
}

#surajweb_firstdiv, #surajweb_seconddiv {
  flex: 1 1 45%;
  text-align: center;
}

#surajweb_seconddiv img {
  width: 100%;
  max-width: 400px;
  height: auto;
}

.popup-container {
position: fixed;
  bottom: 20px;
  right: 20px;
  width: 300px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  z-index: 1000;
  display: none;
  animation: slideIn 0.5s ease-in-out;
}

.popup-content {
  padding: 20px;
  position: relative;
  font-family: Arial, sans-serif;
}

.popup-title {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  display: block;
  margin-bottom: 15px;
}

.popup-button {
  background-color: #007bff;
  color: #fff;
  padding: 10px 14px;
  text-decoration: none;
  border-radius: 6px;
  display: inline-block;
  font-weight: bold;
  transition: background-color 0.3s;
}

.popup-button:hover {
  background-color: #0056b3;
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 14px;
  cursor: pointer;
  font-size: 18px;
  color: #aaa;
  transition: color 0.3s;
}

.popup-close:hover {
  color: #000;
}


.index_btn {
  border-radius: 4px;
  background-color: #3a55c1;
  border: none;
  color: #FFFFFF;
  text-align: center;
  font-size: 28px;
  transition: all 0.5s;
  cursor: pointer;

}

.index_btn span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;
}

.index_btn span:after {
  content: '\00bb';
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 0.5s;
}

.index_btn:hover span {
  padding-right: 25px;
}

.index_btn:hover span:after {
  opacity: 1;
  right: 0;
}


@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



/* About Section */
#sg-about {
  display: flex;
  flex-wrap: wrap;
  padding: 40px 20px;
  gap: 30px;
  justify-content: center;
  align-items: center;
  background-color: #151c67;
}

#sg-about-text, #sg-about-img {
  flex: 1 1 45%;
  text-align: center;
}

#sg-about-img img {
  width: 100%;
  max-width: 350px;
  height: auto;
}

/* Contact Section */
.contact_section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  padding: 40px 20px;
}

.left-div, .right-div {
  flex: 1 1 100%;
}

@media (min-width: 768px) {
  .left-div, .right-div {
    flex: 1 1 48%;
  }
}

/* Form Inputs */
form input, form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  font-size: 16px;
}

form button {
  padding: 12px 25px;
  font-size: 16px;
  cursor: pointer;
}

/* Social Icons */
.social-icons a img {
  width: 32px;
  margin: 0 10px;
}

/* Buttons */
.index_btn {
  display: inline-block;
  padding: 12px 25px;
  background-color: #3a55c1 !important;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}

.index_btn:hover {
  background-color: #005bb5;
}

/* Hero Section Styling */
#surajweb_hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
/*    min-height: 90vh;*/
/*    padding: 50px 10%;*/
/*    background: #f4f4f4;*/
}

/* First Division - Text */
#surajweb_firstdiv {
    flex: 1;
    padding: 20px;
}

#surajweb_firstdiv h1 {
    font-size: 48px;
    color: #22212f;
    margin-bottom: 20px;
}

#surajweb_firstdiv p {
    font-size: 18px;
    color: #22212f;
    line-height: 1.6;
    margin-bottom: 30px;
}

.index_btn {
    display: inline-block;
    background: #f39c12;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
    font-weight: bold;
}

.index_btn:hover {
    background: #e67e22;
}

/* Second Division - Image */
#surajweb_seconddiv {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

#surajweb_seconddiv img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    #surajweb_hero {
        flex-direction: column;
        text-align: center;
    }

    #surajweb_firstdiv, #surajweb_seconddiv {
        width: 100%;
        padding: 20px;
    }

    #surajweb_firstdiv h1 {
        font-size: 36px;
    }

    .index_btn {
        width: 100%;
        text-align: center;
    }
}

#SW-ads-1584 {
    width: 100%;
    height: 300PX; /* Full viewport height */
    background: linear-gradient(to bottom, #f4f4f4 50%, #2c3e50 50%);
    display: flex;
    justify-content: center;
    align-items: center;
  }

  #SW-ads-1584 img {
    max-width: 80%;
    height: auto;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
  }


/* About Section Styling */
#sg-about {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 80vh;
    padding: 60px 10%;
/*    background:#8892a8;*/
}

/* Text Division */
#sg-about-text {
    flex: 1;
    padding: 20px;
}

#sg-about-text h2 {
    font-size: 42px;
    color: #f4f4f4;
    margin-bottom: 20px;
}

#sg-about-text p {
    font-size: 18px;
    color: #f4f4f4;
    line-height: 1.6;
    margin-bottom: 30px;
}

.index_btn {
    display: inline-block;
    background: #3a55c1;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
    font-weight: bold;
}

.index_btn:hover {
    background: #3a55c1;
}

/* Image Division */
#sg-about-img {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

#sg-about-img img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    #sg-about {
        flex-direction: column;
        text-align: center;
    }

    #sg-about-text, #sg-about-img {
        width: 100%;
        padding: 20px;
    }

    #sg-about-text h2 {
        font-size: 32px;
    }

    .index_btn {
        width: 100%;
        text-align: center;
    }
}

.contact_section {
    display: flex;
    justify-content: space-between;
    max-width: 1100px;
    margin: 0 auto;
    background: #f4f4f4;
    box-shadow: 0 0 10px #ccc;
    border-radius: 8px;
    overflow: hidden;
}

/* Left Section */
.left-div {
    flex: 1;
    padding: 40px;
    background: #1e1e1e;
    color: #fff;
}

.layer {
    margin-bottom: 30px;
   
}

.layer h1 {
    font-size: 36px;
    margin-bottom: 10px; text-align: center;
}

.layer p {
    font-size: 18px;
    margin: 5px 0;
}

.social-icons a {
    margin-right: 10px;
    text-decoration: none;
}

.social-icons img {
    width: 30px;
    height: 30px;
    transition: 0.3s;
}

.social-icons img:hover {
    transform: scale(1.2);
}

/* Right Section - Form */
.right-div {
    flex: 1;
    padding: 40px;
    background: #f1f1f1;
}

form label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

form input, form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

form button {
    background: #333;
    color: #fff;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

form button:hover {
    background: #555;
}

.contact_section {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  padding: 40px 20px;
  justify-content: center;
  align-items: flex-start;
}

/* Left and Right Divs */
.left-div, .right-div {
  flex: 1 1 100%;
  max-width: 100%;
}

/* For tablets and up */
@media (min-width: 768px) {
  .left-div, .right-div {
    flex: 1 1 48%;
    max-width: 48%;
  }
}

/* Contact form inputs */
.right-div form {
  display: flex;
  flex-direction: column;
}

.right-div form input,
.right-div form textarea {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

/* Submit button */
.right-div form button {
  padding: 12px;
  font-size: 16px;
  background-color: #0073e6;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.right-div form button:hover {
  background-color: #005bb5;
}

/* Social icons */
.social-icons {
  text-align: center;
  margin-top: 20px;
}

.social-icons a {
  margin: 0 10px;
}

.social-icons img {
  width: 32px;
  height: 32px;
}

/* Heading styles */
.left-div h1 {
  font-size: 28px;
  margin-bottom: 10px;
  text-align: center;
}



section {
      margin-bottom: 4rem;
      /*text-align: center;*/
    }
/*   .htstyle {
      font-size: 2rem;
      border-bottom: 3px solid #0a74da;
      display: inline-block;
      padding-bottom: 0.5rem;
      margin-bottom: 1.5rem;
      color: #0a74da;
      text-align: center !important;
    }*/

    #projects h2 {
    font-size: 42px;
    color: blue;
    margin-bottom: 20px;
    text-align: center;
}

   /* .about {
      font-size: 1.15rem;
      padding: 0 0.2rem;
      max-width: 700px;
      margin: 0 auto;
      text-align: center;
      color: #444;
      font-weight: 500;
    }*/
    .projects-container {
      display: flex;
      flex-wrap: wrap;
      gap: 2rem;
      justify-content: center;
    }
    .project-card {
      background: white;
      border-radius: 10px;
      box-shadow: 0 8px 16px rgba(0,0,0,0.1);
      overflow: hidden;
      max-width: 320px;
      display: flex;
      flex-direction: column;
      transition: transform 0.3s ease;
    }
    .project-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 12px 24px rgba(0,0,0,0.2);
    }
    .project-image {
      width: 100%;
      height: 180px;
      object-fit: cover;
      background: #ddd;
    }
    .project-content {
      padding: 1rem 1.2rem 1.5rem 1.2rem;
      flex: 1;
      display: flex;
      flex-direction: column;
    }
    .project-title {
      font-size: 1.3rem;
      font-weight: 700;
      color: #0a74da;
      margin-bottom: 0.5rem;
    }
    .project-description {
      font-size: 1rem;
      color: #555;
      flex: 1;
      margin-bottom: 1rem;
    }
    .project-link {
      color: #0a74da;
      text-decoration: none;
      font-weight: 600;
      align-self: flex-start;
      border-bottom: 2px solid transparent;
      transition: border-color 0.3s ease;
    }
    .project-link:hover {
      border-color: #0a74da;
    }
